import request from '@/utils/request'

export default {
  // 生成统计数据
  createStaData(day) {
    return request({
      url: `/service_statistics/statistics-daily/registerCount/${day}`,
      method: 'get'
    })
  },
  // 生成统计数据
  getStaData(type,begin,end) {
    return request({
      url: `/service_statistics/statistics-daily/showData/${type}/${begin}/${end}`,
      method: 'get'
    })
  }
}
